//
//  DiZhiTableViewCell.m
//  LOU
//
//  Created by 要帅气的生活 on 15/11/17.
//  Copyright © 2015年 UNOHACHA. All rights reserved.
//

#import "DiZhiTableViewCell.h"

@implementation DiZhiTableViewCell

-(instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        _label = [[UILabel alloc] init];
        [self.contentView addSubview:_label];
    }
    return self;
}
-(void)layoutSubviews{
    [super layoutSubviews];
    _label.frame = CGRectMake(0, 0, 100, self.contentView.frame.size.height);
    _label.center = self.contentView.center;
}
- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
